home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2003-02-20 | 9.4 KB | [ TEXT/□□□□]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Thu Feb 20 09:36:14 2003, modified Thu Feb 20 09:36:14 2003, type ASCII, 8885 bytes "RestartShutdownLogout.c" , at 0x2335 410 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ □□□□]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 17 52 65 73 74 61 72 | 74 53 68 75 74 64 6f 77 |..Restar|tShutdow| |00000010| 6e 4c 6f 67 6f 75 74 2e | 63 00 00 00 00 00 00 00 |nLogout.|c.......| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 00 00 00 | 00 01 00 00 00 00 00 00 |.TEXT...|........| |00000050| 00 00 00 00 00 22 b5 00 | 00 01 9a ba 7a 98 5e ba |....."..|....z.^.| |00000060| 7a 98 5e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |z.^.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c3 c8 00 00 |........|........| |00000080| 2f 2a 0a 09 46 69 6c 65 | 3a 09 09 52 65 73 74 61 |/*..File|:..Resta| |00000090| 72 74 53 68 75 74 64 6f | 77 6e 4c 6f 67 6f 75 74 |rtShutdo|wnLogout| |000000a0| 2e 63 0a 09 0a 09 44 65 | 73 63 72 69 70 74 69 6f |.c....De|scriptio| |000000b0| 6e 3a 09 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |n:.This |program | |000000c0| 69 6d 70 6c 65 6d 65 6e | 74 73 20 61 20 73 69 6d |implemen|ts a sim| |000000d0| 70 6c 65 20 41 50 49 20 | 77 68 69 63 68 20 61 6c |ple API |which al| |000000e0| 6c 6f 77 73 20 64 65 76 | 65 6c 6f 70 65 72 73 20 |lows dev|elopers | |000000f0| 74 6f 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |to. | | |00000100| 20 20 20 20 20 20 20 20 | 20 20 20 70 72 6f 67 72 | | progr| |00000110| 61 6d 61 74 69 63 61 6c | 6c 79 20 63 61 75 73 65 |amatical|ly cause| |00000120| 20 72 65 73 74 61 72 74 | 2c 20 73 68 75 74 64 6f | restart|, shutdo| |00000130| 77 6e 2c 20 6c 6f 67 6f | 75 74 2e 20 20 0a 09 09 |wn, logo|ut. ...| |00000140| 09 09 09 0a 09 41 75 74 | 68 6f 72 3a 09 09 43 68 |.....Aut|hor:..Ch| |00000150| 61 64 20 4a 6f 6e 65 73 | 20 28 63 68 61 64 6a 40 |ad Jones| (chadj@| |00000160| 61 70 70 6c 65 2e 63 6f | 6d 29 0a 0a 09 43 6f 70 |apple.co|m)...Cop| |00000170| 79 72 69 67 68 74 3a 20 | 09 a9 20 43 6f 70 79 72 |yright: |.. Copyr| |00000180| 69 67 68 74 20 32 30 30 | 33 20 41 70 70 6c 65 20 |ight 200|3 Apple | |00000190| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 41 |Computer|, Inc. A| |000001a0| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv| |000001b0| 65 64 2e 0a 09 0a 09 44 | 69 73 63 6c 61 69 6d 65 |ed.....D|isclaime| |000001c0| 72 3a 09 49 4d 50 4f 52 | 54 41 4e 54 3a 20 20 54 |r:.IMPOR|TANT: T| |000001d0| 68 69 73 20 41 70 70 6c | 65 20 73 6f 66 74 77 61 |his Appl|e softwa| |000001e0| 72 65 20 69 73 20 73 75 | 70 70 6c 69 65 64 20 74 |re is su|pplied t| |000001f0| 6f 20 79 6f 75 20 62 79 | 20 41 70 70 6c 65 20 43 |o you by| Apple C| |00000200| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0a 09 09 |omputer,| Inc....| |00000210| 09 09 28 22 41 70 70 6c | 65 22 29 20 69 6e 20 63 |..("Appl|e") in c| |00000220| 6f 6e 73 69 64 65 72 61 | 74 69 6f 6e 20 6f 66 20 |onsidera|tion of | |00000230| 79 6f 75 72 20 61 67 72 | 65 65 6d 65 6e 74 20 74 |your agr|eement t| |00000240| 6f 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |o the fo|llowing | |00000250| 74 65 72 6d 73 2c 20 61 | 6e 64 20 79 6f 75 72 0a |terms, a|nd your.| |00000260| 09 09 09 09 75 73 65 2c | 20 69 6e 73 74 61 6c 6c |....use,| install| |00000270| 61 74 69 6f 6e 2c 20 6d | 6f 64 69 66 69 63 61 74 |ation, m|odificat| |00000280| 69 6f 6e 20 6f 72 20 72 | 65 64 69 73 74 72 69 62 |ion or r|edistrib| |00000290| 75 74 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 41 70 |ution of| this Ap| |000002a0| 70 6c 65 20 73 6f 66 74 | 77 61 72 65 0a 09 09 09 |ple soft|ware....| |000002b0| 09 63 6f 6e 73 74 69 74 | 75 74 65 73 20 61 63 63 |.constit|utes acc| |000002c0| 65 70 74 61 6e 63 65 20 | 6f 66 20 74 68 65 73 65 |eptance |of these| |000002d0| 20 74 65 72 6d 73 2e 20 | 20 49 66 20 79 6f 75 20 | terms. | If you | |000002e0| 64 6f 20 6e 6f 74 20 61 | 67 72 65 65 20 77 69 74 |do not a|gree wit| |000002f0| 68 20 74 68 65 73 65 20 | 74 65 72 6d 73 2c 0a 09 |h these |terms,..| |00000300| 09 09 09 70 6c 65 61 73 | 65 20 64 6f 20 6e 6f 74 |...pleas|e do not| |00000310| 20 75 73 65 2c 20 69 6e | 73 74 61 6c 6c 2c 20 6d | use, in|stall, m| |00000320| 6f 64 69 66 79 20 6f 72 | 20 72 65 64 69 73 74 72 |odify or| redistr| |00000330| 69 62 75 74 65 20 74 68 | 69 73 20 41 70 70 6c 65 |ibute th|is Apple| |00000340| 20 73 6f 66 74 77 61 72 | 65 2e 0a 0a 09 09 09 09 | softwar|e.......| |00000350| 49 6e 20 63 6f 6e 73 69 | 64 65 72 61 74 69 6f 6e |In consi|deration| |00000360| 20 6f 66 20 79 6f 75 72 | 20 61 67 72 65 65 6d 65 | of your| agreeme| |00000370| 6e 74 20 74 6f 20 61 62 | 69 64 65 20 62 79 20 74 |nt to ab|ide by t| |00000380| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 74 65 72 |he follo|wing ter| |00000390| 6d 73 2c 20 61 6e 64 20 | 73 75 62 6a 65 63 74 0a |ms, and |subject.| |000003a0| 09 09 09 09 74 6f 20 74 | 68 65 73 65 20 74 65 72 |....to t|hese ter| |000003b0| 6d 73 2c 20 41 70 70 6c | 65 20 67 72 61 6e 74 73 |ms, Appl|e grants| |000003c0| 20 79 6f 75 20 61 20 70 | 65 72 73 6f 6e 61 6c 2c | you a p|ersonal,| |000003d0| 20 6e 6f 6e 2d 65 78 63 | 6c 75 73 69 76 65 20 6c | non-exc|lusive l| |000003e0| 69 63 65 6e 73 65 2c 20 | 75 6e 64 65 72 20 41 70 |icense, |under Ap| |000003f0| 70 6c 65 d5 73 0a 09 09 | 09 09 63 6f 70 79 72 69 |ple.s...|..copyri| |00000400| 67 68 74 73 20 69 6e 20 | 74 68 69 73 20 6f 72 69 |ghts in |this ori| |00000410| 67 69 6e 61 6c 20 41 70 | 70 6c 65 20 73 6f 66 74 |ginal Ap|ple soft| |00000420| 77 61 72 65 20 28 74 68 | 65 20 22 41 70 70 6c 65 |ware (th|e "Apple| |00000430| 20 53 6f 66 74 77 61 72 | 65 22 29 2c 20 74 6f 20 | Softwar|e"), to | |00000440| 75 73 65 2c 0a 09 09 09 | 09 72 65 70 72 6f 64 75 |use,....|.reprodu| |00000450| 63 65 2c 20 6d 6f 64 69 | 66 79 20 61 6e 64 20 72 |ce, modi|fy and r| |00000460| 65 64 69 73 74 72 69 62 | 75 74 65 20 74 68 65 20 |edistrib|ute the | |00000470| 41 70 70 6c 65 20 53 6f | 66 74 77 61 72 65 2c 20 |Apple So|ftware, | |00000480| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 0a |with or |without.| |00000490| 09 09 09 09 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |....modi|fication| |000004a0| 73 2c 20 69 6e 20 73 6f | 75 72 63 65 20 61 6e 64 |s, in so|urce and| |000004b0| 2f 6f 72 20 62 69 6e 61 | 72 79 20 66 6f 72 6d 73 |/or bina|ry forms| |000004c0| 3b 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |; provid|ed that | |000004d0| 69 66 20 79 6f 75 20 72 | 65 64 69 73 74 72 69 62 |if you r|edistrib| |000004e0| 75 74 65 0a 09 09 09 09 | 74 68 65 20 41 70 70 6c |ute.....|the Appl| |000004f0| 65 20 53 6f 66 74 77 61 | 72 65 20 69 6e 20 69 74 |e Softwa|re in it| |00000500| 73 20 65 6e 74 69 72 65 | 74 79 20 61 6e 64 20 77 |s entire|ty and w| |00000510| 69 74 68 6f 75 74 20 6d | 6f 64 69 66 69 63 61 74 |ithout m|odificat| |00000520| 69 6f 6e 73 2c 20 79 6f | 75 20 6d 75 73 74 20 72 |ions, yo|u must r| |00000530| 65 74 61 69 6e 0a 09 09 | 09 09 74 68 69 73 20 6e |etain...|..this n| |00000540| 6f 74 69 63 65 20 61 6e | 64 20 74 68 65 20 66 6f |otice an|d the fo| |00000550| 6c 6c 6f 77 69 6e 67 20 | 74 65 78 74 20 61 6e 64 |llowing |text and| |00000560| 20 64 69 73 63 6c 61 69 | 6d 65 72 73 20 69 6e 20 | disclai|mers in | |00000570| 61 6c 6c 20 73 75 63 68 | 20 72 65 64 69 73 74 72 |all such| redistr| |00000580| 69 62 75 74 69 6f 6e 73 | 20 6f 66 0a 09 09 09 09 |ibutions| of.....| |00000590| 74 68 65 20 41 70 70 6c | 65 20 53 6f 66 74 77 61 |the Appl|e Softwa| |000005a0| 72 65 2e 20 20 4e 65 69 | 74 68 65 72 20 74 68 65 |re. Nei|ther the| |000005b0| 20 6e 61 6d 65 2c 20 74 | 72 61 64 65 6d 61 72 6b | name, t|rademark| |000005c0| 73 2c 20 73 65 72 76 69 | 63 65 20 6d 61 72 6b 73 |s, servi|ce marks| |000005d0| 20 6f 72 20 6c 6f 67 6f | 73 20 6f 66 0a 09 09 09 | or logo|s of....| |000005e0| 09 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c |.Apple C|omputer,| |000005f0| 20 49 6e 63 2e 20 6d 61 | 79 20 62 65 20 75 73 65 | Inc. ma|y be use| |00000600| 64 20 74 6f 20 65 6e 64 | 6f 72 73 65 20 6f 72 20 |d to end|orse or | |00000610| 70 72 6f 6d 6f 74 65 20 | 70 72 6f 64 75 63 74 73 |promote |products| |00000620| 20 64 65 72 69 76 65 64 | 20 66 72 6f 6d 20 74 68 | derived| from th| |00000630| 65 0a 09 09 09 09 41 70 | 70 6c 65 20 53 6f 66 74 |e.....Ap|ple Soft| |00000640| 77 61 72 65 20 77 69 74 | 68 6f 75 74 20 73 70 65 |ware wit|hout spe| |00000650| 63 69 66 69 63 20 70 72 | 69 6f 72 20 77 72 69 74 |cific pr|ior writ| |00000660| 74 65 6e 20 70 65 72 6d | 69 73 73 69 6f 6e 20 66 |ten perm|ission f| |00000670| 72 6f 6d 20 41 70 70 6c | 65 2e 20 20 45 78 63 65 |rom Appl|e. Exce| |00000680| 70 74 20 61 73 0a 09 09 | 09 09 65 78 70 72 65 73 |pt as...|..expres| |00000690| 73 6c 79 20 73 74 61 74 | 65 64 20 69 6e 20 74 68 |sly stat|ed in th| |000006a0| 69 73 20 6e 6f 74 69 63 | 65 2c 20 6e 6f 20 6f 74 |is notic|e, no ot| |000006b0| 68 65 72 20 72 69 67 68 | 74 73 20 6f 72 20 6c 69 |her righ|ts or li| |000006c0| 63 65 6e 73 65 73 2c 20 | 65 78 70 72 65 73 73 20 |censes, |express | |000006d0| 6f 72 20 69 6d 70 6c 69 | 65 64 2c 0a 09 09 09 09 |or impli|ed,.....| |000006e0| 61 72 65 20 67 72 61 6e | 74 65 64 20 62 79 20 41 |are gran|ted by A| |000006f0| 70 70 6c 65 20 68 65 72 | 65 69 6e 2c 20 69 6e 63 |pple her|ein, inc| |00000700| 6c 75 64 69 6e 67 20 62 | 75 74 20 6e 6f 74 20 6c |luding b|ut not l| |00000710| 69 6d 69 74 65 64 20 74 | 6f 20 61 6e 79 20 70 61 |imited t|o any pa| |00000720| 74 65 6e 74 20 72 69 67 | 68 74 73 20 74 68 61 74 |tent rig|hts that| |00000730| 0a 09 09 09 09 6d 61 79 | 20 62 65 20 69 6e 66 72 |.....may| be infr| |00000740| 69 6e 67 65 64 20 62 79 | 20 79 6f 75 72 20 64 65 |inged by| your de| |00000750| 72 69 76 61 74 69 76 65 | 20 77 6f 72 6b 73 20 6f |rivative| works o| |00000760| 72 20 62 79 20 6f 74 68 | 65 72 20 77 6f 72 6b 73 |r by oth|er works| |00000770| 20 69 6e 20 77 68 69 63 | 68 20 74 68 65 20 41 70 | in whic|h the Ap| |00000780| 70 6c 65 0a 09 09 09 09 | 53 6f 66 74 77 61 72 65 |ple.....|Software| |00000790| 20 6d 61 79 20 62 65 20 | 69 6e 63 6f 72 70 6f 72 | may be |incorpor| |000007a0| 61 74 65 64 2e 0a 0a 09 | 09 09 09 54 68 65 20 41 |ated....|...The A| |000007b0| 70 70 6c 65 20 53 6f 66 | 74 77 61 72 65 20 69 73 |pple Sof|tware is| |000007c0| 20 70 72 6f 76 69 64 65 | 64 20 62 79 20 41 70 70 | provide|d by App| |000007d0| 6c 65 20 6f 6e 20 61 6e | 20 22 41 53 20 49 53 22 |le on an| "AS IS"| |000007e0| 20 62 61 73 69 73 2e 20 | 20 41 50 50 4c 45 20 4d | basis. | APPLE M| |000007f0| 41 4b 45 53 20 4e 4f 0a | 09 09 09 09 57 41 52 52 |AKES NO.|....WARR| |00000800| 41 4e 54 49 45 53 2c 20 | 45 58 50 52 45 53 53 20 |ANTIES, |EXPRESS | |00000810| 4f 52 20 49 4d 50 4c 49 | 45 44 2c 20 49 4e 43 4c |OR IMPLI|ED, INCL| |00000820| 55 44 49 4e 47 20 57 49 | 54 48 4f 55 54 20 4c 49 |UDING WI|THOUT LI| |00000830| 4d 49 54 41 54 49 4f 4e | 20 54 48 45 20 49 4d 50 |MITATION| THE IMP| |00000840| 4c 49 45 44 0a 09 09 09 | 09 57 41 52 52 41 4e 54 |LIED....|.WARRANT| |00000850| 49 45 53 20 4f 46 20 4e | 4f 4e 2d 49 4e 46 52 49 |IES OF N|ON-INFRI| |00000860| 4e 47 45 4d 45 4e 54 2c | 20 4d 45 52 43 48 41 4e |NGEMENT,| MERCHAN| |00000870| 54 41 42 49 4c 49 54 59 | 20 41 4e 44 20 46 49 54 |TABILITY| AND FIT| |00000880| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI| |00000890| 43 55 4c 41 52 0a 09 09 | 09 09 50 55 52 50 4f 53 |CULAR...|..PURPOS| |000008a0| 45 2c 20 52 45 47 41 52 | 44 49 4e 47 20 54 48 45 |E, REGAR|DING THE| |000008b0| 20 41 50 50 4c 45 20 53 | 4f 46 54 57 41 52 45 20 | APPLE S|OFTWARE | |000008c0| 4f 52 20 49 54 53 20 55 | 53 45 20 41 4e 44 20 4f |OR ITS U|SE AND O| |000008d0| 50 45 52 41 54 49 4f 4e | 20 41 4c 4f 4e 45 20 4f |PERATION| ALONE O| |000008e0| 52 20 49 4e 0a 09 09 09 | 09 43 4f 4d 42 49 4e 41 |R IN....|.COMBINA| |000008f0| 54 49 4f 4e 20 57 49 54 | 48 20 59 4f 55 52 20 50 |TION WIT|H YOUR P| |00000900| 52 4f 44 55 43 54 53 2e | 0a 0a 09 09 09 09 49 4e |RODUCTS.|......IN| |00000910| 20 4e 4f 20 45 56 45 4e | 54 20 53 48 41 4c 4c 20 | NO EVEN|T SHALL | |00000920| 41 50 50 4c 45 20 42 45 | 20 4c 49 41 42 4c 45 20 |APPLE BE| LIABLE | |00000930| 46 4f 52 20 41 4e 59 20 | 53 50 45 43 49 41 4c 2c |FOR ANY |SPECIAL,| |00000940| 20 49 4e 44 49 52 45 43 | 54 2c 20 49 4e 43 49 44 | INDIREC|T, INCID| |00000950| 45 4e 54 41 4c 20 4f 52 | 0a 09 09 09 09 43 4f 4e |ENTAL OR|.....CON| |00000960| 53 45 51 55 45 4e 54 49 | 41 4c 20 44 41 4d 41 47 |SEQUENTI|AL DAMAG| |00000970| 45 53 20 28 49 4e 43 4c | 55 44 49 4e 47 2c 20 42 |ES (INCL|UDING, B| |00000980| 55 54 20 4e 4f 54 20 4c | 49 4d 49 54 45 44 20 54 |UT NOT L|IMITED T| |00000990| 4f 2c 20 50 52 4f 43 55 | 52 45 4d 45 4e 54 20 4f |O, PROCU|REMENT O| |000009a0| 46 20 53 55 42 53 54 49 | 54 55 54 45 0a 09 09 09 |F SUBSTI|TUTE....| |000009b0| 09 47 4f 4f 44 53 20 4f | 52 20 53 45 52 56 49 43 |.GOODS O|R SERVIC| |000009c0| 45 53 3b 20 4c 4f 53 53 | 20 4f 46 20 55 53 45 2c |ES; LOSS| OF USE,| |000009d0| 20 44 41 54 41 2c 20 4f | 52 20 50 52 4f 46 49 54 | DATA, O|R PROFIT| |000009e0| 53 3b 20 4f 52 20 42 55 | 53 49 4e 45 53 53 20 49 |S; OR BU|SINESS I| |000009f0| 4e 54 45 52 52 55 50 54 | 49 4f 4e 29 0a 09 09 09 |NTERRUPT|ION)....| |00000a00| 09 41 52 49 53 49 4e 47 | 20 49 4e 20 41 4e 59 20 |.ARISING| IN ANY | |00000a10| 57 41 59 20 4f 55 54 20 | 4f 46 20 54 48 45 20 55 |WAY OUT |OF THE U| |00000a20| 53 45 2c 20 52 45 50 52 | 4f 44 55 43 54 49 4f 4e |SE, REPR|ODUCTION| |00000a30| 2c 20 4d 4f 44 49 46 49 | 43 41 54 49 4f 4e 20 41 |, MODIFI|CATION A| |00000a40| 4e 44 2f 4f 52 20 44 49 | 53 54 52 49 42 55 54 49 |ND/OR DI|STRIBUTI| |00000a50| 4f 4e 0a 09 09 09 09 4f | 46 20 54 48 45 20 41 50 |ON.....O|F THE AP| |00000a60| 50 4c 45 20 53 4f 46 54 | 57 41 52 45 2c 20 48 4f |PLE SOFT|WARE, HO| |00000a70| 57 45 56 45 52 20 43 41 | 55 53 45 44 20 41 4e 44 |WEVER CA|USED AND| |00000a80| 20 57 48 45 54 48 45 52 | 20 55 4e 44 45 52 20 54 | WHETHER| UNDER T| |00000a90| 48 45 4f 52 59 20 4f 46 | 20 43 4f 4e 54 52 41 43 |HEORY OF| CONTRAC| |00000aa0| 54 2c 20 54 4f 52 54 0a | 09 09 09 09 28 49 4e 43 |T, TORT.|....(INC| |00000ab0| 4c 55 44 49 4e 47 20 4e | 45 47 4c 49 47 45 4e 43 |LUDING N|EGLIGENC| |00000ac0| 45 29 2c 20 53 54 52 49 | 43 54 20 4c 49 41 42 49 |E), STRI|CT LIABI| |00000ad0| 4c 49 54 59 20 4f 52 20 | 4f 54 48 45 52 57 49 53 |LITY OR |OTHERWIS| |00000ae0| 45 2c 20 45 56 45 4e 20 | 49 46 20 41 50 50 4c 45 |E, EVEN |IF APPLE| |00000af0| 20 48 41 53 20 42 45 45 | 4e 0a 09 09 09 09 41 44 | HAS BEE|N.....AD| |00000b00| 56 49 53 45 44 20 4f 46 | 20 54 48 45 20 50 4f 53 |VISED OF| THE POS| |00000b10| 53 49 42 49 4c 49 54 59 | 20 4f 46 20 53 55 43 48 |SIBILITY| OF SUCH| |00000b20| 20 44 41 4d 41 47 45 2e | 0a 09 09 09 09 0a 09 43 | DAMAGE.|.......C| |00000b30| 68 61 6e 67 65 20 48 69 | 73 74 6f 72 79 20 28 6d |hange Hi|story (m| |00000b40| 6f 73 74 20 72 65 63 65 | 6e 74 20 66 69 72 73 74 |ost rece|nt first| |00000b50| 29 3a 20 0a 2a 2f 0a 23 | 69 6e 63 6c 75 64 65 20 |): .*/.#|include | |00000b60| 22 52 65 73 74 61 72 74 | 53 68 75 74 64 6f 77 6e |"Restart|Shutdown| |00000b70| 4c 6f 67 6f 75 74 2e 68 | 22 0a 0a 2f 2a 2a 2a 2a |Logout.h|"../****| |00000b80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000b90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000ba0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000bb0| 2a 0a 20 2a 20 53 65 6e | 64 41 70 70 6c 65 45 76 |*. * Sen|dAppleEv| |00000bc0| 65 6e 74 54 6f 53 79 73 | 74 65 6d 50 72 6f 63 65 |entToSys|temProce| |00000bd0| 73 73 0a 20 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |ss. ****|********| |00000be0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000bf0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000c00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0a 20 2a 20 50 75 72 |********|*. * Pur| |00000c10| 70 6f 73 65 3a 20 20 54 | 68 69 73 20 66 75 6e 63 |pose: T|his func| |00000c20| 74 69 6f 6e 20 77 69 6c | 6c 20 70 61 73 73 65 64 |tion wil|l passed| |00000c30| 2d 6f 6e 20 74 68 65 20 | 41 70 70 6c 65 20 45 76 |-on the |Apple Ev| |00000c40| 65 6e 74 20 74 6f 20 74 | 68 65 20 73 79 73 74 65 |ent to t|he syste| |00000c50| 6d 20 70 72 6f 63 65 73 | 73 2e 20 20 0a 20 2a 0a |m proces|s. . *.| |00000c60| 20 2a 20 50 61 72 61 6d | 65 74 65 72 73 3a 0a 20 | * Param|eters:. | |00000c70| 2a 0a 20 2a 20 20 20 20 | 20 45 76 65 6e 74 54 6f |*. * | EventTo| |00000c80| 53 65 6e 64 20 20 20 20 | 41 6e 20 41 45 45 76 65 |Send |An AEEve| |00000c90| 6e 74 49 44 2e 20 20 4f | 6e 20 63 61 6c 6c 69 6e |ntID. O|n callin| |00000ca0| 67 20 53 65 6e 64 41 70 | 70 6c 65 45 76 65 6e 74 |g SendAp|pleEvent| |00000cb0| 54 6f 53 79 73 74 65 6d | 50 72 6f 63 65 73 73 0a |ToSystem|Process.| |00000cc0| 20 2a 20 20 20 20 20 20 | 20 20 20 74 68 69 73 20 | * | this | |00000cd0| 61 72 67 75 6d 65 6e 74 | 20 64 65 73 63 72 69 62 |argument| describ| |00000ce0| 65 73 20 77 68 69 63 68 | 20 65 76 65 6e 74 20 74 |es which| event t| |00000cf0| 6f 20 73 65 6e 64 20 74 | 6f 20 74 68 65 0a 20 2a |o send t|o the. *| |00000d00| 20 20 20 20 20 20 20 20 | 73 79 73 74 65 6d 20 70 | |system p| |00000d10| 72 6f 63 65 73 73 2e 20 | 20 46 6f 72 20 75 73 65 |rocess. | For use| |00000d20| 20 77 69 74 68 20 74 68 | 69 73 20 73 61 6d 70 6c | with th|is sampl| |00000d30| 65 20 74 68 65 72 65 20 | 69 73 20 72 65 61 6c 6c |e there |is reall| |00000d40| 79 20 74 68 72 65 65 20 | 65 76 65 6e 74 73 20 6c |y three |events l| |00000d50| 69 73 74 65 64 20 62 65 | 6c 6f 77 3a 0a 20 2a 20 |isted be|low:. * | |00000d60| 20 20 20 20 20 20 20 20 | 09 6b 41 45 52 65 73 74 | |.kAERest| |00000d70| 61 72 74 20 77 69 6c 6c | 20 63 61 75 73 65 20 73 |art will| cause s| |00000d80| 79 73 74 65 6d 20 74 6f | 20 72 65 73 74 61 72 74 |ystem to| restart| |00000d90| 2e 20 28 4f 53 58 20 61 | 6e 64 20 4f 53 39 29 0a |. (OSX a|nd OS9).| |00000da0| 20 2a 20 20 20 20 20 20 | 20 20 20 09 6b 41 45 53 | * | .kAES| |00000db0| 68 75 74 44 6f 77 6e 20 | 77 69 6c 6c 20 63 61 75 |hutDown |will cau| |00000dc0| 73 65 20 73 79 73 74 65 | 6d 20 74 6f 20 73 68 75 |se syste|m to shu| |00000dd0| 74 64 6f 77 6e 2e 20 28 | 4f 53 58 20 61 6e 64 20 |tdown. (|OSX and | |00000de0| 4f 53 39 29 0a 20 2a 20 | 20 20 20 20 20 20 20 20 |OS9). * | | |00000df0| 09 6b 41 45 52 65 61 6c | 6c 79 4c 6f 67 6f 75 74 |.kAEReal|lyLogout| |00000e00| 20 77 69 6c 6c 20 63 61 | 75 73 65 20 73 79 73 74 | will ca|use syst| |00000e10| 65 6d 20 74 6f 20 6c 6f | 67 6f 75 74 2e 20 28 4f |em to lo|gout. (O| |00000e20| 53 58 20 6f 6e 6c 79 29 | 0a 20 2a 0a 20 2a 20 20 |SX only)|. *. * | |00000e30| 20 20 20 3c 46 75 6e 63 | 74 69 6f 6e 20 52 65 73 | <Func|tion Res| |00000e40| 75 6c 74 3e 20 20 20 20 | 20 41 20 69 6e 74 65 67 |ult> | A integ| |00000e50| 65 72 20 72 65 74 75 72 | 6e 20 76 61 6c 75 65 2e |er retur|n value.| |00000e60| 0a 20 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. * | | |00000e70| 20 20 20 20 53 65 65 20 | 72 65 73 75 6c 74 20 63 | See |result c| |00000e80| 6f 64 65 73 20 6c 69 73 | 74 65 64 20 62 65 6c 6f |odes lis|ted belo| |00000e90| 77 2e 0a 20 2a 20 20 20 | 20 20 20 20 20 20 52 65 |w.. * | Re| |00000ea0| 73 75 6c 74 20 43 6f 64 | 65 73 3a 0a 20 2a 20 20 |sult Cod|es:. * | |00000eb0| 20 20 20 20 20 20 5a 65 | 72 6f 20 20 20 20 09 53 | Ze|ro .S| |00000ec0| 75 63 63 65 73 73 2e 20 | 20 45 76 65 6e 74 20 77 |uccess. | Event w| |00000ed0| 61 73 20 73 75 63 63 65 | 73 73 66 75 6c 6c 79 20 |as succe|ssfully | |00000ee0| 73 65 6e 74 2e 0a 20 2a | 20 20 20 20 20 20 20 20 |sent.. *| | |00000ef0| 6e 6f 6e 2d 5a 65 72 6f | 20 20 20 20 09 53 65 65 |non-Zero| .See| |00000f00| 20 4d 61 63 45 72 72 6f | 72 73 2e 68 20 66 6f 72 | MacErro|rs.h for| |00000f10| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of | |00000f20| 73 79 73 74 65 6d 20 64 | 65 66 69 6e 65 64 20 65 |system d|efined e| |00000f30| 72 72 6f 72 73 2e 0a 20 | 2a 2a 2a 2a 2a 2a 2a 2a |rrors.. |********| |00000f40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000f50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********| |00000f60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0a 4f |********|*****/.O| |00000f70| 53 53 74 61 74 75 73 20 | 53 65 6e 64 41 70 70 6c |SStatus |SendAppl| |00000f80| 65 45 76 65 6e 74 54 6f | 53 79 73 74 65 6d 50 72 |eEventTo|SystemPr| |00000f90| 6f 63 65 73 73 28 41 45 | 45 76 65 6e 74 49 44 20 |ocess(AE|EventID | |00000fa0| 45 76 65 6e 74 54 6f 53 | 65 6e 64 29 0a 7b 0a 20 |EventToS|end).{. | |00000fb0| 20 20 20 2f 2f 20 2d 2d | 2d 20 41 6c 6c 6f 63 61 | // --|- Alloca| |00000fc0| 74 69 6e 67 20 6c 6f 63 | 61 6c 20 76 61 72 69 61 |ting loc|al varia| |00000fd0| 62 6c 65 73 20 2d 2d 2d | 20 2f 2f 0a 20 20 20 20 |bles ---| //. | |00000fe0| 41 45 41 64 64 72 65 73 | 73 44 65 73 63 20 74 61 |AEAddres|sDesc ta| |00000ff0| 72 67 65 74 44 65 73 63 | 3b 0a 20 20 20 20 73 74 |rgetDesc|;. st| |00001000| 61 74 69 63 20 63 6f 6e | 73 74 20 50 72 6f 63 65 |atic con|st Proce| |00001010| 73 73 53 65 72 69 61 6c | 4e 75 6d 62 65 72 20 6b |ssSerial|Number k| |00001020| 50 53 4e 4f 66 53 79 73 | 74 65 6d 50 72 6f 63 65 |PSNOfSys|temProce| |00001030| 73 73 20 3d 20 7b 20 30 | 2c 20 6b 53 79 73 74 65 |ss = { 0|, kSyste| |00001040| 6d 50 72 6f 63 65 73 73 | 20 7d 3b 0a 20 20 20 20 |mProcess| };. | |00001050| 41 70 70 6c 65 45 76 65 | 6e 74 20 65 76 65 6e 74 |AppleEve|nt event| |00001060| 52 65 70 6c 79 20 3d 20 | 7b 74 79 70 65 4e 75 6c |Reply = |{typeNul| |00001070| 6c 2c 20 4e 55 4c 4c 7d | 3b 0a 20 20 20 20 41 70 |l, NULL}|;. Ap| |00001080| 70 6c 65 45 76 65 6e 74 | 20 61 70 70 6c 65 45 76 |pleEvent| appleEv| |00001090| 65 6e 74 54 6f 53 65 6e | 64 20 3d 20 7b 74 79 70 |entToSen|d = {typ| |000010a0| 65 4e 75 6c 6c 2c 20 4e | 55 4c 4c 7d 3b 0a 20 20 |eNull, N|ULL};. | |000010b0| 20 20 0a 20 20 20 20 4f | 53 53 74 61 74 75 73 20 | . O|SStatus | |000010c0| 65 72 72 6f 72 20 3d 20 | 6e 6f 45 72 72 3b 0a 0a |error = |noErr;..| |000010d0| 20 20 20 20 2f 2a 20 4e | 6f 77 20 74 68 61 74 20 | /* N|ow that | |000010e0| 77 65 20 68 61 76 65 20 | 74 68 65 20 41 70 70 6c |we have |the Appl| |000010f0| 65 20 45 76 65 6e 74 20 | 77 65 20 6e 65 65 64 20 |e Event |we need | |00001100| 74 6f 20 74 61 72 67 65 | 74 20 74 68 65 20 73 79 |to targe|t the sy| |00001110| 73 74 65 6d 20 70 72 6f | 63 65 73 73 0a 20 20 20 |stem pro|cess. | |00001120| 20 20 2a 20 77 65 20 6e | 65 65 64 20 74 6f 20 74 | * we n|eed to t| |00001130| 61 72 67 65 74 20 74 68 | 65 20 73 79 73 74 65 6d |arget th|e system| |00001140| 20 70 72 6f 63 65 73 73 | 2e 20 20 54 68 69 73 20 | process|. This | |00001150| 69 73 20 64 6f 6e 65 20 | 77 69 74 68 20 61 20 63 |is done |with a c| |00001160| 61 6c 6c 20 74 6f 0a 20 | 20 20 20 20 2a 20 41 45 |all to. | * AE| |00001170| 43 72 65 61 74 65 44 65 | 73 63 2e 20 20 4e 6f 74 |CreateDe|sc. Not| |00001180| 65 20 6f 6e 20 4f 53 39 | 20 74 68 65 20 22 73 79 |e on OS9| the "sy| |00001190| 73 74 65 6d 20 70 72 6f | 63 65 73 73 22 20 69 73 |stem pro|cess" is| |000011a0| 20 74 68 65 20 46 69 6e | 64 65 72 2e 20 20 4f 6e | the Fin|der. On| |000011b0| 20 4f 53 58 20 0a 20 20 | 20 20 20 2a 20 74 68 65 | OSX . | * the| |000011c0| 20 22 73 79 73 74 65 6d | 20 70 72 6f 63 65 73 73 | "system| process| |000011d0| 22 20 69 73 20 6c 6f 67 | 69 6e 77 69 6e 64 6f 77 |" is log|inwindow| |000011e0| 2e 20 20 42 6f 74 68 20 | 22 73 79 73 74 65 6d 20 |. Both |"system | |000011f0| 70 72 6f 63 65 73 73 65 | 73 22 20 68 61 6e 64 6c |processe|s" handl| |00001200| 65 20 74 68 65 20 0a 20 | 20 20 20 20 2a 20 65 76 |e the . | * ev| |00001210| 65 6e 74 73 20 63 6f 72 | 72 65 63 74 6c 79 20 61 |ents cor|rectly a| |00001220| 6e 64 20 63 61 75 73 65 | 20 74 68 65 20 65 78 70 |nd cause| the exp| |00001230| 65 63 74 65 64 20 72 65 | 73 75 6c 74 73 2e 0a 20 |ected re|sults.. | |00001240| 20 20 20 20 2a 20 46 69 | 72 73 74 20 41 72 67 75 | * Fi|rst Argu| |00001250| 6d 65 6e 74 3a 20 54 68 | 65 20 70 72 6f 63 65 73 |ment: Th|e proces| |00001260| 73 20 74 61 72 67 65 74 | 74 69 6e 67 20 6d 65 74 |s target|ting met| |00001270| 68 6f 64 2e 0a 20 20 20 | 20 20 2a 20 20 20 20 20 |hod.. | * | |00001280| 20 48 65 72 65 20 77 65 | 20 61 72 65 20 74 61 72 | Here we| are tar| |00001290| 67 65 74 74 69 6e 67 20 | 62 79 20 70 72 6f 63 65 |getting |by proce| |000012a0| 73 73 20 73 65 72 69 61 | 6c 20 6e 75 6d 62 65 72 |ss seria|l number| |000012b0| 2e 0a 20 20 20 20 20 2a | 20 53 65 63 6f 6e 64 20 |.. *| Second | |000012c0| 41 72 67 75 6d 65 6e 74 | 3a 20 54 68 65 20 61 63 |Argument|: The ac| |000012d0| 74 75 61 6c 20 64 61 74 | 61 20 75 73 65 64 20 74 |tual dat|a used t| |000012e0| 6f 20 74 61 72 67 65 74 | 20 74 68 65 20 70 72 6f |o target| the pro| |000012f0| 63 65 73 73 2e 0a 20 20 | 20 20 20 2a 20 20 20 20 |cess.. | * | |00001300| 20 20 49 6e 20 74 68 69 | 73 20 63 61 73 65 20 6f | In thi|s case o| |00001310| 66 20 63 6f 75 72 73 65 | 20 77 65 20 61 72 65 20 |f course| we are | |00001320| 75 73 69 6e 67 20 74 68 | 65 20 70 72 6f 63 65 73 |using th|e proces| |00001330| 73 20 73 65 72 69 61 6c | 20 6e 75 6d 62 65 72 20 |s serial| number | |00001340| 6f 66 0a 20 20 20 20 20 | 2a 20 20 20 20 20 20 74 |of. |* t| |00001350| 68 65 20 70 72 6f 63 65 | 73 73 20 62 65 69 6e 67 |he proce|ss being| |00001360| 20 74 61 72 67 65 74 65 | 64 2e 20 20 48 65 72 65 | targete|d. Here| |00001370| 20 74 68 65 20 73 79 73 | 74 65 6d 20 70 72 6f 63 | the sys|tem proc| |00001380| 65 73 73 20 69 73 20 62 | 65 69 6e 67 0a 20 20 20 |ess is b|eing. | |00001390| 20 20 2a 20 20 20 20 20 | 20 74 61 72 67 65 74 74 | * | targett| |000013a0| 65 64 2e 20 20 57 65 20 | 74 61 72 67 65 74 20 74 |ed. We |target t| |000013b0| 68 65 20 73 79 73 74 65 | 6d 20 70 72 6f 63 65 73 |he syste|m proces| |000013c0| 73 20 62 79 20 74 68 65 | 20 63 6f 6e 73 74 61 6e |s by the| constan| |000013d0| 74 0a 20 20 20 20 20 2a | 20 20 20 20 20 20 6b 53 |t. *| kS| |000013e0| 79 73 74 65 6d 50 72 6f | 63 65 73 73 20 68 65 72 |ystemPro|cess her| |000013f0| 65 20 61 6c 72 65 61 64 | 79 20 69 6e 70 75 74 20 |e alread|y input | |00001400| 69 6e 74 6f 20 74 68 65 | 20 22 70 73 6e 22 20 61 |into the| "psn" a| |00001410| 72 67 75 6d 65 6e 74 20 | 62 65 69 6e 67 20 70 61 |rgument |being pa| |00001420| 73 73 65 64 2e 0a 20 20 | 20 20 20 2a 20 54 68 69 |ssed.. | * Thi| |00001430| 72 64 20 41 72 67 75 6d | 65 6e 74 3a 20 53 69 7a |rd Argum|ent: Siz| |00001440| 65 20 6f 66 20 74 68 65 | 20 64 61 74 61 20 75 73 |e of the| data us| |00001450| 65 64 20 74 6f 20 74 61 | 72 67 65 74 20 74 68 65 |ed to ta|rget the| |00001460| 20 70 72 6f 63 65 73 73 | 2e 20 20 4f 66 20 63 6f | process|. Of co| |00001470| 75 72 73 65 0a 20 20 20 | 20 20 2a 20 20 20 20 20 |urse. | * | |00001480| 20 74 68 69 73 20 63 61 | 73 65 20 77 65 20 68 61 | this ca|se we ha| |00001490| 76 65 20 74 68 65 20 73 | 69 7a 65 20 6f 66 20 74 |ve the s|ize of t| |000014a0| 68 65 20 50 72 6f 63 65 | 73 73 53 65 72 69 61 6c |he Proce|ssSerial| |000014b0| 4e 75 6d 62 65 72 20 61 | 72 67 75 6d 65 6e 74 0a |Number a|rgument.| |000014c0| 20 20 20 20 20 2a 20 20 | 20 20 20 20 62 65 69 6e | * | bein| |000014d0| 67 20 70 61 73 73 65 64 | 2e 0a 20 20 20 20 20 2a |g passed|.. *| |000014e0| 20 46 6f 72 74 68 20 41 | 72 67 75 6d 65 6e 74 3a | Forth A|rgument:| |000014f0| 20 4f 6e 20 72 65 74 75 | 72 6e 20 66 72 6f 6d 20 | On retu|rn from | |00001500| 41 45 43 72 65 61 74 65 | 44 65 73 63 20 74 68 69 |AECreate|Desc thi| |00001510| 73 20 70 61 72 61 6d 65 | 74 65 72 20 77 69 6c 6c |s parame|ter will| |00001520| 20 68 6f 6c 64 20 61 20 | 0a 20 20 20 20 20 2a 20 | hold a |. * | |00001530| 20 20 20 20 20 61 20 41 | 45 44 65 73 63 72 69 70 | a A|EDescrip| |00001540| 74 6f 72 2e 20 20 54 68 | 65 20 41 45 44 65 73 63 |tor. Th|e AEDesc| |00001550| 72 69 70 74 6f 72 20 64 | 65 73 63 72 69 62 65 73 |riptor d|escribes| |00001560| 20 74 68 65 20 74 61 72 | 67 65 74 74 65 64 20 70 | the tar|getted p| |00001570| 72 6f 63 65 73 73 2e 0a | 20 20 20 20 20 2a 20 20 |rocess..| * | |00001580| 20 20 20 20 54 68 69 73 | 20 77 69 6c 6c 20 62 65 | This| will be| |00001590| 20 75 73 65 64 20 74 6f | 20 73 65 6e 64 20 61 6e | used to| send an| |000015a0| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 20 74 6f 20 | Apple E|vent to | |000015b0| 74 68 65 20 74 61 72 67 | 65 74 20 70 72 6f 63 65 |the targ|et proce| |000015c0| 73 73 2e 0a 20 20 20 20 | 20 2a 20 20 20 20 20 20 |ss.. | * | |000015d0| 4e 6f 74 65 20 77 65 20 | 68 61 76 65 20 74 6f 20 |Note we |have to | |000015e0| 64 69 73 70 6f 73 65 20 | 6f 66 20 64 65 73 63 72 |dispose |of descr| |000015f0| 69 70 74 6f 72 2e 0a 20 | 20 20 20 20 2a 20 52 65 |iptor.. | * Re| |00001600| 74 75 72 6e 20 56 61 6c | 75 65 3a 20 45 72 72 6f |turn Val|ue: Erro| |00001610| 72 20 72 65 70 72 65 73 | 65 6e 74 69 6e 67 20 73 |r repres|enting s| |00001620| 75 63 63 65 73 73 20 6f | 72 20 66 61 69 6c 75 72 |uccess o|r failur| |00001630| 65 20 6f 66 20 74 68 65 | 20 70 72 6f 63 65 73 73 |e of the| process| |00001640| 2e 0a 20 20 20 20 20 2a | 2f 0a 20 20 20 20 65 72 |.. *|/. er| |00001650| 72 6f 72 20 3d 20 41 45 | 43 72 65 61 74 65 44 65 |ror = AE|CreateDe| |00001660| 73 63 28 74 79 70 65 50 | 72 6f 63 65 73 73 53 65 |sc(typeP|rocessSe| |00001670| 72 69 61 6c 4e 75 6d 62 | 65 72 2c 20 26 6b 50 53 |rialNumb|er, &kPS| |00001680| 4e 4f 66 53 79 73 74 65 | 6d 50 72 6f 63 65 73 73 |NOfSyste|mProcess| |00001690| 2c 20 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |, . | | |000016a0| 20 20 20 20 20 20 20 20 | 20 20 20 73 69 7a 65 6f | | sizeo| |000016b0| 66 28 6b 50 53 4e 4f 66 | 53 79 73 74 65 6d 50 72 |f(kPSNOf|SystemPr| |000016c0| 6f 63 65 73 73 29 2c 20 | 26 74 61 72 67 65 74 44 |ocess), |&targetD| |000016d0| 65 73 63 29 3b 0a 0a 20 | 20 20 20 69 66 20 28 65 |esc);.. | if (e| |000016e0| 72 72 6f 72 20 21 3d 20 | 6e 6f 45 72 72 29 20 2f |rror != |noErr) /| |000016f0| 2f 46 61 69 6c 75 72 65 | 20 6f 63 63 75 72 72 65 |/Failure| occurre| |00001700| 64 20 69 6e 20 74 61 72 | 67 65 74 74 69 6e 67 20 |d in tar|getting | |00001710| 74 68 65 20 70 72 6f 63 | 65 73 73 2e 0a 20 20 20 |the proc|ess.. | |00001720| 20 7b 0a 20 20 20 20 20 | 20 20 20 72 65 74 75 72 | {. | retur| |00001730| 6e 28 65 72 72 6f 72 29 | 3b 20 2f 2f 52 65 74 75 |n(error)|; //Retu| |00001740| 72 6e 20 65 72 72 6f 72 | 20 69 6e 64 69 63 61 74 |rn error| indicat| |00001750| 69 6e 67 20 65 72 72 6f | 72 20 63 72 65 61 74 69 |ing erro|r creati| |00001760| 6e 67 20 64 65 73 63 72 | 69 70 74 6f 72 0a 20 20 |ng descr|iptor. | |00001770| 20 20 7d 0a 0a 20 20 20 | 20 2f 2a 20 4e 6f 77 20 | }.. | /* Now | |00001780| 74 68 61 74 20 77 65 20 | 68 61 76 65 20 74 68 65 |that we |have the| |00001790| 20 64 65 73 63 72 69 70 | 74 6f 72 20 77 68 69 63 | descrip|tor whic| |000017a0| 68 20 74 61 72 67 65 74 | 73 20 74 68 65 20 73 79 |h target|s the sy| |000017b0| 73 74 65 6d 20 70 72 6f | 63 65 73 73 20 77 65 20 |stem pro|cess we | |000017c0| 6e 65 65 64 0a 20 20 20 | 20 20 2a 20 74 6f 20 63 |need. | * to c| |000017d0| 72 65 61 74 65 20 61 6e | 20 41 70 70 6c 65 20 45 |reate an| Apple E| |000017e0| 76 65 6e 74 20 74 6f 20 | 73 65 6e 64 20 74 6f 20 |vent to |send to | |000017f0| 74 68 65 20 73 79 73 74 | 65 6d 20 70 72 6f 63 65 |the syst|em proce| |00001800| 73 73 2e 0a 20 20 20 20 | 20 2a 20 46 69 72 73 74 |ss.. | * First| |00001810| 20 41 72 67 75 6d 65 6e | 74 3a 20 54 68 65 20 41 | Argumen|t: The A| |00001820| 70 70 6c 65 20 45 76 65 | 6e 74 20 63 6c 61 73 73 |pple Eve|nt class| |00001830| 20 74 6f 20 73 65 6e 64 | 2e 20 20 49 6e 20 74 68 | to send|. In th| |00001840| 69 73 20 63 61 73 65 20 | 61 6c 6c 20 74 68 65 0a |is case |all the.| |00001850| 20 20 20 20 20 2a 20 20 | 20 20 20 20 70 6f 73 73 | * | poss| |00001860| 69 62 6c 65 20 65 76 65 | 6e 74 73 20 77 65 20 6d |ible eve|nts we m| |00001870| 61 79 20 73 65 6e 64 20 | 61 72 65 20 66 72 6f 6d |ay send |are from| |00001880| 20 74 68 65 20 43 6f 72 | 65 45 76 65 6e 74 43 6c | the Cor|eEventCl| |00001890| 61 73 73 2e 20 20 54 68 | 75 73 20 70 61 73 73 0a |ass. Th|us pass.| |000018a0| 20 20 20 20 20 2a 20 20 | 20 20 20 20 6b 43 6f 72 | * | kCor| |000018b0| 65 45 76 65 6e 74 43 6c | 61 73 73 20 61 73 20 74 |eEventCl|ass as t| |000018c0| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 63 |he Apple| Event c| |000018d0| 6c 61 73 73 2e 0a 20 20 | 20 20 20 2a 20 53 65 63 |lass.. | * Sec| |000018e0| 6f 6e 64 20 41 72 67 75 | 6d 65 6e 74 3a 20 54 68 |ond Argu|ment: Th| |000018f0| 65 20 61 63 74 75 61 6c | 20 41 70 70 6c 65 20 45 |e actual| Apple E| |00001900| 76 65 6e 74 20 74 6f 20 | 73 65 6e 64 20 74 6f 20 |vent to |send to | |00001910| 74 68 65 20 73 79 73 74 | 65 6d 2e 20 20 54 68 69 |the syst|em. Thi| |00001920| 73 0a 20 20 20 20 20 2a | 20 20 20 20 20 20 77 69 |s. *| wi| |00001930| 6c 6c 20 65 69 74 68 65 | 72 20 62 65 20 6b 41 45 |ll eithe|r be kAE| |00001940| 52 65 73 74 61 72 74 2c | 20 6b 41 45 53 68 75 74 |Restart,| kAEShut| |00001950| 64 6f 77 6e 20 6f 72 20 | 74 68 65 20 6c 6f 67 6f |down or |the logo| |00001960| 75 74 20 65 76 65 6e 74 | 2e 0a 20 20 20 20 20 2a |ut event|.. *| |00001970| 20 20 20 20 20 20 57 68 | 69 63 68 20 65 76 65 6e | Wh|ich even| |00001980| 74 20 69 73 20 63 68 6f | 73 65 6e 20 69 73 20 62 |t is cho|sen is b| |00001990| 61 73 65 64 20 6f 6e 20 | 74 68 65 20 69 6e 70 75 |ased on |the inpu| |000019a0| 74 20 61 72 67 75 6d 65 | 6e 74 20 74 6f 20 74 68 |t argume|nt to th| |000019b0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 2e 0a 20 20 20 |is funct|ion.. | |000019c0| 20 20 2a 20 54 68 69 72 | 64 20 41 72 67 75 6d 65 | * Thir|d Argume| |000019d0| 6e 74 3a 20 41 20 41 45 | 44 65 73 63 72 69 70 74 |nt: A AE|Descript| |000019e0| 6f 72 20 64 65 73 63 72 | 69 62 69 6e 67 20 74 68 |or descr|ibing th| |000019f0| 65 20 74 61 72 67 65 74 | 20 70 72 6f 63 65 73 73 |e target| process| |00001a00| 2e 20 20 48 65 72 65 20 | 77 65 0a 20 20 20 20 20 |. Here |we. | |00001a10| 2a 20 20 20 20 20 20 70 | 61 73 73 20 74 68 65 20 |* p|ass the | |00001a20| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 64 65 73 63 |Apple Ev|ent desc| |00001a30| 72 69 70 74 6f 72 20 77 | 65 20 72 65 63 65 6e 74 |riptor w|e recent| |00001a40| 6c 79 20 63 72 65 61 74 | 65 64 2e 0a 20 20 20 20 |ly creat|ed.. | |00001a50| 20 2a 20 46 6f 72 74 68 | 20 41 72 67 75 6d 65 6e | * Forth| Argumen| |00001a60| 74 3a 20 54 68 65 20 72 | 65 74 75 72 6e 20 49 44 |t: The r|eturn ID| |00001a70| 20 74 6f 20 75 73 65 2e | 20 48 65 72 65 20 77 65 | to use.| Here we| |00001a80| 20 77 61 6e 74 20 61 75 | 74 6f 0a 20 20 20 20 20 | want au|to. | |00001a90| 2a 20 20 20 20 20 20 67 | 65 6e 65 72 61 74 65 64 |* g|enerated| |00001aa0| 20 72 65 74 75 72 6e 20 | 49 44 2e 0a 20 20 20 20 | return |ID.. | |00001ab0| 20 2a 20 46 69 66 74 68 | 20 41 72 67 75 6d 65 6e | * Fifth| Argumen| |00001ac0| 74 3a 20 54 68 65 20 74 | 72 61 6e 73 61 63 74 69 |t: The t|ransacti| |00001ad0| 6f 6e 20 49 44 20 74 6f | 20 75 73 65 2e 20 20 48 |on ID to| use. H| |00001ae0| 65 72 65 20 77 65 20 77 | 61 6e 74 0a 20 20 20 20 |ere we w|ant. | |00001af0| 20 2a 20 20 20 20 20 20 | 41 6e 79 54 72 61 6e 73 | * |AnyTrans| |00001b00| 61 63 74 69 6f 6e 49 44 | 2e 0a 20 20 20 20 20 2a |actionID|.. *| |00001b10| 20 53 69 78 74 68 20 41 | 72 67 75 6d 65 6e 74 3a | Sixth A|rgument:| |00001b20| 20 4f 6e 20 72 65 74 75 | 72 6e 20 74 68 69 73 20 | On retu|rn this | |00001b30| 61 72 67 75 6d 65 6e 74 | 20 68 6f 6c 64 73 20 74 |argument| holds t| |00001b40| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 74 |he Apple| Event t| |00001b50| 6f 20 62 65 20 73 65 6e | 74 2e 0a 20 20 20 20 20 |o be sen|t.. | |00001b60| 2a 20 52 65 74 75 72 6e | 20 56 61 6c 75 65 3a 20 |* Return| Value: | |00001b70| 45 72 72 6f 72 20 72 65 | 70 72 65 73 65 6e 74 69 |Error re|presenti| |00001b80| 6e 67 20 73 75 63 63 65 | 73 73 20 6f 72 20 66 61 |ng succe|ss or fa| |00001b90| 69 6c 75 72 65 20 6f 66 | 20 74 68 65 20 70 72 6f |ilure of| the pro| |00001ba0| 63 65 73 73 2e 0a 20 20 | 20 20 20 2a 20 20 20 20 |cess.. | * | |00001bb0| 20 20 54 68 69 73 20 69 | 73 20 73 79 73 74 65 6d | This i|s system| |00001bc0| 20 65 72 72 6f 72 20 72 | 65 74 75 72 6e 65 64 2e | error r|eturned.| |00001bd0| 0a 20 20 20 20 20 2a 2f | 0a 20 20 20 20 65 72 72 |. */|. err| |00001be0| 6f 72 20 3d 20 41 45 43 | 72 65 61 74 65 41 70 70 |or = AEC|reateApp| |00001bf0| 6c 65 45 76 65 6e 74 28 | 6b 43 6f 72 65 45 76 65 |leEvent(|kCoreEve| |00001c00| 6e 74 43 6c 61 73 73 2c | 20 45 76 65 6e 74 54 6f |ntClass,| EventTo| |00001c10| 53 65 6e 64 2c 0a 20 20 | 20 20 20 20 20 20 20 20 |Send,. | | |00001c20| 20 20 20 20 20 20 20 20 | 20 20 20 26 74 61 72 67 | | &targ| |00001c30| 65 74 44 65 73 63 2c 20 | 6b 41 75 74 6f 47 65 6e |etDesc, |kAutoGen| |00001c40| 65 72 61 74 65 52 65 74 | 75 72 6e 49 44 2c 0a 20 |erateRet|urnID,. | |00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00001c60| 20 20 20 20 6b 41 6e 79 | 54 72 61 6e 73 61 63 74 | kAny|Transact| |00001c70| 69 6f 6e 49 44 2c 20 26 | 61 70 70 6c 65 45 76 65 |ionID, &|appleEve| |00001c80| 6e 74 54 6f 53 65 6e 64 | 29 3b 0a 0a 20 20 20 20 |ntToSend|);.. | |00001c90| 2f 2f 64 69 73 70 6f 73 | 69 6e 67 20 6f 66 20 74 |//dispos|ing of t| |00001ca0| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 64 |he Apple| Event d| |00001cb0| 65 73 63 72 69 70 74 6f | 72 20 73 69 6e 63 65 20 |escripto|r since | |00001cc0| 77 65 20 61 72 65 20 64 | 6f 6e 65 20 77 69 74 68 |we are d|one with| |00001cd0| 20 69 74 2e 0a 20 20 20 | 20 41 45 44 69 73 70 6f | it.. | AEDispo| |00001ce0| 73 65 44 65 73 63 28 26 | 74 61 72 67 65 74 44 65 |seDesc(&|targetDe| |00001cf0| 73 63 29 3b 0a 0a 20 20 | 20 20 69 66 20 28 65 72 |sc);.. | if (er| |00001d00| 72 6f 72 20 21 3d 20 6e | 6f 45 72 72 29 20 2f 2f |ror != n|oErr) //| |00001d10| 46 61 69 6c 75 72 65 20 | 6f 63 63 75 72 72 65 64 |Failure |occurred| |00001d20| 20 69 6e 20 63 72 65 61 | 74 69 6e 67 20 74 68 65 | in crea|ting the| |00001d30| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 2e 0a 20 20 | Apple E|vent.. | |00001d40| 20 20 7b 0a 20 20 20 20 | 20 20 20 20 72 65 74 75 | {. | retu| |00001d50| 72 6e 28 65 72 72 6f 72 | 29 3b 20 2f 2f 52 65 74 |rn(error|); //Ret| |00001d60| 75 72 6e 20 65 72 72 6f | 72 20 69 6e 64 69 63 61 |urn erro|r indica| |00001d70| 74 69 6e 67 20 65 72 72 | 6f 72 20 63 72 65 61 74 |ting err|or creat| |00001d80| 69 6e 67 20 41 70 70 6c | 65 20 45 76 65 6e 74 2e |ing Appl|e Event.| |00001d90| 0a 20 20 20 20 7d 0a 0a | 20 20 20 20 2f 2a 20 4e |. }..| /* N| |00001da0| 6f 77 20 74 68 61 74 20 | 77 65 20 68 61 76 65 20 |ow that |we have | |00001db0| 74 68 65 20 41 70 70 6c | 65 20 45 76 65 6e 74 20 |the Appl|e Event | |00001dc0| 74 6f 20 73 65 6e 64 20 | 77 65 20 77 69 6c 6c 20 |to send |we will | |00001dd0| 73 65 6e 64 20 69 74 2e | 0a 20 20 20 20 20 2a 20 |send it.|. * | |00001de0| 46 69 72 73 74 20 41 72 | 67 75 6d 65 6e 74 3a 20 |First Ar|gument: | |00001df0| 54 68 65 20 41 70 70 6c | 65 20 45 76 65 6e 74 20 |The Appl|e Event | |00001e00| 74 6f 20 73 65 6e 64 2e | 20 20 49 6e 20 74 68 69 |to send.| In thi| |00001e10| 73 20 63 61 73 65 20 74 | 68 65 20 41 70 70 6c 65 |s case t|he Apple| |00001e20| 20 45 76 65 6e 74 0a 20 | 20 20 20 20 2a 20 20 20 | Event. | * | |00001e30| 20 20 20 77 65 20 63 72 | 65 61 74 65 64 20 65 61 | we cr|eated ea| |00001e40| 72 6c 69 65 72 2e 0a 20 | 20 20 20 20 2a 20 53 65 |rlier.. | * Se| |00001e50| 63 6f 6e 64 20 41 72 67 | 75 6d 65 6e 74 3a 20 54 |cond Arg|ument: T| |00001e60| 68 65 20 72 65 70 6c 79 | 20 74 6f 20 74 68 65 20 |he reply| to the | |00001e70| 41 70 70 6c 65 20 45 76 | 65 6e 74 2e 20 20 57 65 |Apple Ev|ent. We| |00001e80| 20 64 6f 6e 27 74 20 75 | 73 65 20 74 68 65 0a 20 | don't u|se the. | |00001e90| 20 20 20 20 2a 20 20 20 | 20 20 20 72 65 70 6c 79 | * | reply| |00001ea0| 20 62 75 74 20 67 65 74 | 20 74 68 65 20 72 65 73 | but get| the res| |00001eb0| 75 6c 74 20 62 61 63 6b | 20 66 72 6f 6d 20 74 68 |ult back| from th| |00001ec0| 65 20 63 61 6c 6c 2e 0a | 20 20 20 20 20 2a 20 54 |e call..| * T| |00001ed0| 68 69 72 64 20 41 72 67 | 75 6d 65 6e 74 3a 20 54 |hird Arg|ument: T| |00001ee0| 68 65 20 72 65 70 6c 79 | 20 74 79 70 65 2e 20 20 |he reply| type. | |00001ef0| 49 6e 20 74 68 69 73 20 | 63 61 73 65 20 77 65 20 |In this |case we | |00001f00| 64 6f 6e 27 74 20 77 61 | 6e 74 20 61 6e 79 20 72 |don't wa|nt any r| |00001f10| 65 70 6c 79 20 74 6f 0a | 20 20 20 20 20 2a 20 20 |eply to.| * | |00001f20| 20 20 20 20 74 68 65 20 | 41 70 70 6c 65 20 45 76 | the |Apple Ev| |00001f30| 65 6e 74 2e 20 20 54 68 | 75 73 2c 20 77 65 20 70 |ent. Th|us, we p| |00001f40| 61 73 73 20 6b 41 45 4e | 6f 52 65 70 6c 79 2e 0a |ass kAEN|oReply..| |00001f50| 20 20 20 20 20 2a 20 46 | 6f 72 74 68 20 41 72 67 | * F|orth Arg| |00001f60| 75 6d 65 6e 74 3a 20 54 | 68 65 20 70 72 69 6f 72 |ument: T|he prior| |00001f70| 69 74 79 20 6f 66 20 74 | 68 65 20 65 76 65 6e 74 |ity of t|he event| |00001f80| 20 74 6f 20 73 65 6e 64 | 2e 20 20 48 65 72 65 20 | to send|. Here | |00001f90| 77 65 20 77 61 6e 74 0a | 20 20 20 20 20 2a 20 20 |we want.| * | |00001fa0| 20 20 20 20 6e 6f 72 6d | 61 6c 20 70 72 69 6f 72 | norm|al prior| |00001fb0| 69 74 79 20 28 6b 41 45 | 4e 6f 72 6d 61 6c 50 72 |ity (kAE|NormalPr| |00001fc0| 69 6f 72 69 74 79 29 2e | 0a 20 20 20 20 20 2a 20 |iority).|. * | |00001fd0| 46 69 66 74 68 20 41 72 | 67 75 6d 65 6e 74 3a 20 |Fifth Ar|gument: | |00001fe0| 54 68 65 20 74 69 6d 65 | 6f 75 74 20 76 61 6c 75 |The time|out valu| |00001ff0| 65 20 74 6f 20 75 73 65 | 2e 20 20 48 65 72 65 20 |e to use|. Here | |00002000| 77 65 20 77 61 6e 74 20 | 64 65 66 61 75 6c 74 20 |we want |default | |00002010| 76 61 6c 75 65 0a 20 20 | 20 20 20 2a 20 20 20 20 |value. | * | |00002020| 20 20 73 6f 20 75 73 65 | 20 6b 41 45 44 65 66 61 | so use| kAEDefa| |00002030| 75 6c 74 54 69 6d 65 6f | 75 74 2e 0a 20 20 20 20 |ultTimeo|ut.. | |00002040| 20 2a 20 53 69 78 74 68 | 20 41 72 67 75 6d 65 6e | * Sixth| Argumen| |00002050| 74 3a 20 49 64 6c 65 20 | 70 72 6f 63 20 74 6f 20 |t: Idle |proc to | |00002060| 75 73 65 2e 20 20 57 65 | 20 70 61 73 73 20 6e 75 |use. We| pass nu| |00002070| 6c 6c 20 73 69 6e 63 65 | 20 77 65 20 64 6f 6e 27 |ll since| we don'| |00002080| 74 20 6e 65 65 64 20 74 | 68 69 73 2e 0a 20 20 20 |t need t|his.. | |00002090| 20 20 2a 20 53 65 76 65 | 6e 74 68 20 41 72 67 75 | * Seve|nth Argu| |000020a0| 6d 65 6e 74 3a 20 46 69 | 6c 74 65 72 20 70 72 6f |ment: Fi|lter pro| |000020b0| 63 20 74 6f 20 75 73 65 | 2e 20 20 57 65 20 70 61 |c to use|. We pa| |000020c0| 73 73 20 6e 75 6c 6c 20 | 73 69 6e 63 65 20 77 65 |ss null |since we| |000020d0| 20 64 6f 6e 27 74 20 6e | 65 65 64 20 74 68 69 73 | don't n|eed this| |000020e0| 2e 0a 20 20 20 20 20 2a | 20 52 65 74 75 72 6e 20 |.. *| Return | |000020f0| 56 61 6c 75 65 3a 20 45 | 72 72 6f 72 20 72 65 70 |Value: E|rror rep| |00002100| 72 65 73 65 6e 74 69 6e | 67 20 73 75 63 63 65 73 |resentin|g succes| |00002110| 73 20 6f 72 20 66 61 69 | 6c 75 72 65 20 6f 66 20 |s or fai|lure of | |00002120| 74 68 65 20 70 72 6f 63 | 65 73 73 2e 0a 20 20 20 |the proc|ess.. | |00002130| 20 20 2a 20 20 20 20 20 | 20 54 68 69 73 20 69 73 | * | This is| |00002140| 20 73 79 73 74 65 6d 20 | 65 72 72 6f 72 20 72 65 | system |error re| |00002150| 74 75 72 6e 65 64 2e 0a | 20 20 20 20 20 2a 2f 0a |turned..| */.| |00002160| 20 20 20 20 65 72 72 6f | 72 20 3d 20 41 45 53 65 | erro|r = AESe| |00002170| 6e 64 28 26 61 70 70 6c | 65 45 76 65 6e 74 54 6f |nd(&appl|eEventTo| |00002180| 53 65 6e 64 2c 20 26 65 | 76 65 6e 74 52 65 70 6c |Send, &e|ventRepl| |00002190| 79 2c 20 6b 41 45 4e 6f | 52 65 70 6c 79 2c 0a 20 |y, kAENo|Reply,. | |000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6b 41 45 4e | | kAEN| |000021b0| 6f 72 6d 61 6c 50 72 69 | 6f 72 69 74 79 2c 20 6b |ormalPri|ority, k| |000021c0| 41 45 44 65 66 61 75 6c | 74 54 69 6d 65 6f 75 74 |AEDefaul|tTimeout| |000021d0| 2c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4e |,. | N| |000021e0| 55 4c 4c 2c 20 4e 55 4c | 4c 29 3b 0a 0a 20 20 20 |ULL, NUL|L);.. | |000021f0| 20 2f 2f 64 69 73 70 6f | 73 69 6e 67 20 6f 66 20 | //dispo|sing of | |00002200| 74 68 65 20 41 70 70 6c | 65 20 45 76 65 6e 74 20 |the Appl|e Event | |00002210| 73 69 6e 63 65 20 77 65 | 20 61 72 65 20 64 6f 6e |since we| are don| |00002220| 65 20 77 69 74 68 20 69 | 74 2e 0a 20 20 20 20 41 |e with i|t.. A| |00002230| 45 44 69 73 70 6f 73 65 | 44 65 73 63 28 26 61 70 |EDispose|Desc(&ap| |00002240| 70 6c 65 45 76 65 6e 74 | 54 6f 53 65 6e 64 29 3b |pleEvent|ToSend);| |00002250| 0a 0a 20 20 20 20 69 66 | 20 28 65 72 72 6f 72 20 |.. if| (error | |00002260| 21 3d 20 6e 6f 45 72 72 | 29 20 0a 20 20 20 20 7b |!= noErr|) . {| |00002270| 0a 20 20 20 20 09 72 65 | 74 75 72 6e 28 65 72 72 |. .re|turn(err| |00002280| 6f 72 29 3b 20 0a 20 20 | 20 20 7d 0a 0a 20 20 20 |or); . | }.. | |00002290| 20 2f 2f 64 69 73 70 6f | 73 69 6e 67 20 6f 66 20 | //dispo|sing of | |000022a0| 74 68 65 20 41 70 70 6c | 65 20 45 76 65 6e 74 20 |the Appl|e Event | |000022b0| 72 65 70 6c 79 20 73 69 | 6e 63 65 20 77 65 20 61 |reply si|nce we a| |000022c0| 72 65 20 64 6f 6e 65 20 | 77 69 74 68 20 69 74 2e |re done |with it.| |000022d0| 0a 20 20 20 20 41 45 44 | 69 73 70 6f 73 65 44 65 |. AED|isposeDe| |000022e0| 73 63 28 26 65 76 65 6e | 74 52 65 70 6c 79 29 3b |sc(&even|tReply);| |000022f0| 0a 20 20 20 20 0a 20 20 | 20 20 72 65 74 75 72 6e |. . | return| |00002300| 28 65 72 72 6f 72 29 3b | 20 2f 2f 69 66 20 74 68 |(error);| //if th| |00002310| 69 73 20 69 73 20 6e 6f | 45 72 72 20 74 68 65 6e |is is no|Err then| |00002320| 20 77 65 20 61 72 65 20 | 73 75 63 63 65 73 73 66 | we are |successf| |00002330| 75 6c 0a 7d 0a 00 00 00 | 00 00 00 00 00 00 00 00 |ul.}....|........| |00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002380| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F| |00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002480| 00 00 00 04 00 01 00 01 | 00 00 00 48 00 09 4d 6f |........|...H..Mo| |00002490| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........| |000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 02 |........|........| |000024b0| 00 04 00 2e 00 0a 02 fb | 02 b5 00 2e 00 0a 02 fb |........|........| |000024c0| 02 b5 ba 7a 60 1e 00 00 | 0a fa 00 00 0a fa 00 00 |...z`...|........| |000024d0| 00 00 01 00 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T| |000024e0| 00 00 00 46 53 4f 52 54 | 04 0e 00 80 00 1c 00 46 |...FSORT|.......F| |000024f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..| |00002500| 00 1e 03 ed ff ff 00 00 | 00 08 00 00 00 00 03 f0 |........|........| |00002510| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+